<?php

namespace Luka\NavigationBundle\Model;

class Item {
    public $url;
    public $text;
    public $translationParameters;
    public $children;
    public $selected;
    public $childSelected;

    public function __construct($text = "", $url = "", array $translationParameters = array(), array $children = array(), $selected = false, $childSelected = false) {
        $this->url = $url;
        $this->text = $text;
        $this->translationParameters = $translationParameters;
        $this->children = $children;
        $this->selected = $selected;
        $this->childSelected = $childSelected;
    }
}